package com.cainiao.mapper;

import com.cainiao.pojo.QrtzFiredTriggers;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface QrtzFiredTriggersMapper {
    /**
     *  根据主键删除数据库的记录,qrtz_fired_triggers
     *
     * @param entryId
     */
    int deleteByPrimaryKey(String entryId);

    /**
     *  新写入数据库记录,qrtz_fired_triggers
     *
     * @param record
     */
    int insert(QrtzFiredTriggers record);

    /**
     *  动态字段,写入数据库记录,qrtz_fired_triggers
     *
     * @param record
     */
    int insertSelective(QrtzFiredTriggers record);

    /**
     *  根据指定主键获取一条数据库记录,qrtz_fired_triggers
     *
     * @param entryId
     */
    QrtzFiredTriggers selectByPrimaryKey(String entryId);

    /**
     *  动态字段,根据主键来更新符合条件的数据库记录,qrtz_fired_triggers
     *
     * @param record
     */
    int updateByPrimaryKeySelective(QrtzFiredTriggers record);

    /**
     *  根据主键来更新符合条件的数据库记录,qrtz_fired_triggers
     *
     * @param record
     */
    int updateByPrimaryKey(QrtzFiredTriggers record);
}